package net.xdclass.onlinexdclass.interceptor;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author 薛虎
 * @date 2021/1/4 10:17
 */
@Configuration
@ConfigurationProperties(prefix = "ipwhilte", ignoreInvalidFields = false)
@PropertySource("classpath:ipconfig/ipwhitelist.properties")
@Data
@Component
public class IpWhile {

    private String list;
}
